<html>
<head><meta charset="utf-8"><title>Spot the typo · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html">Spot the typo</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="246737244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737244">(Jul 21 2021 at 15:39)</a>:</h4>
<p>we have a super-cursed typo in a few tests, who can spot it?</p>
<p><a href="/user_uploads/4715/SDSi50ajNlikQaeC8_3PBzSR/screenshot-2021-07-21-173847.png">screenshot-2021-07-21-173847.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/SDSi50ajNlikQaeC8_3PBzSR/screenshot-2021-07-21-173847.png" title="screenshot-2021-07-21-173847.png"><img src="/user_uploads/4715/SDSi50ajNlikQaeC8_3PBzSR/screenshot-2021-07-21-173847.png"></a></div>



<a name="246737394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737394">(Jul 21 2021 at 15:40)</a>:</h4>
<p>Uh, why do we highlight <code>pud</code>?</p>



<a name="246737395"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737395" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737395">(Jul 21 2021 at 15:40)</a>:</h4>
<p>Might it be с vs c? Though, I don't remember writing this test</p>



<a name="246737621"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737621" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737621">(Jul 21 2021 at 15:42)</a>:</h4>
<p>it's <code>pud mod</code></p>



<a name="246737676"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737676" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737676">(Jul 21 2021 at 15:43)</a>:</h4>
<p>I only noticed this after a lot of head-scratching and running <code>diff</code> on 2 seemingly identical tests</p>



<a name="246737709"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737709" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737709">(Jul 21 2021 at 15:43)</a>:</h4>
<p><a href="/user_uploads/4715/1IG6k8wTpujBL2tWJmG4MvnG/image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/1IG6k8wTpujBL2tWJmG4MvnG/image.png" title="image.png"><img src="/user_uploads/4715/1IG6k8wTpujBL2tWJmG4MvnG/image.png"></a></div>



<a name="246737873"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737873" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737873">(Jul 21 2021 at 15:44)</a>:</h4>
<p>Oh, that's what we emit for anything top-level</p>



<a name="246737990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Spot%20the%20typo/near/246737990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Spot.20the.20typo.html#246737990">(Jul 21 2021 at 15:45)</a>:</h4>
<p>Ye the parser always falls back to parsing macros at item list level</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>